package server_proxy

import (
	"net/rpc"
	"traning/rpc_traning/rpc_frame/handler"
)

type HelloService interface {
	Hello (req string, reply *string) error
}

func RegisterHelloService (srv HelloService) error{
	return rpc.RegisterName(handler.SerViceName, srv)
}